package com.feri.sg.goods.controller;

import com.feri.sg.goods.service.ActivityService;
import com.feri.sg.goods.service.BrandService;
import com.feri.sg.pojo.bo.BaseController;
import com.feri.sg.pojo.vo.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *
 */
@RestController
@RequestMapping("/server/brand/")
public class BrandController
{
    @Resource
    private BrandService service;
    @GetMapping("all")
    public R all(){
        return service.all();
    }
}
